package datalayer.abstractFactory;

import datalayer.dao.test.TestDAOAfdeling;
import datalayer.dao.test.TestDAOBedrijf;
import datalayer.dao.test.TestDAOWerknemer;
import datalayer.interfaces.IDAOAfdeling;
import datalayer.interfaces.IDAOBedrijf;
import datalayer.interfaces.IDAOWerknemer;

public class TestDAOFactory extends DAOFactory{
	
	private static TestDAOFactory instance;
	
	public static TestDAOFactory getInstance(){
		if(instance == null){
			instance = new TestDAOFactory();
		}
		return instance;
	}

	@Override
	public IDAOAfdeling GetDAOAfdeling() {
		// TODO Auto-generated method stub
		return TestDAOAfdeling.getInstance();
	}

	@Override
	public IDAOBedrijf GetDAOBedrijf() {
		// TODO Auto-generated method stub
		return TestDAOBedrijf.getInstance();
	}

	@Override
	public IDAOWerknemer getDAOWerknemer() {
		// TODO Auto-generated method stub
		return TestDAOWerknemer.getInstance();
	}

}
